package com.dt.app.modules.shopping.vo;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.util.Date;
import com.dt.app.modules.base.entites.PageEntity;
/**
 * <p>
 * 订单管理
 * </p>
 *
 * @author 鸿源塔基
 * @since 2023-03-03
 */
@Data
@NoArgsConstructor
@ApiModel(value="OrderSales对象", description="订单管理")
public class OrderSalesBean extends PageEntity implements Serializable {

    private static final long serialVersionUID=1L;

    private Long orderSalesId;

    @ApiModelProperty(value = "企业")
    private Long sysCompanyId;
    private String sysCompanyIdName;

    @ApiModelProperty(value = "部门(分公司)")
    private Long sysDepartmentId;
    private String sysDepartmentIdName;

    @ApiModelProperty(value = "用户 下单人")
    private Long hyUserId;

    @ApiModelProperty(value = "商家id")
    private Long sellersId;

    @ApiModelProperty(value = "总部id")
    private Long sellerHeadquartersId;

    @ApiModelProperty(value = "出售人id 二手货")
    private Long saleUserId;

    @ApiModelProperty(value = "商家所在的国家id")
    private Integer countryId;

    @ApiModelProperty(value = "支付方式id 1微信支付  2积分支付 3金币支付 4支付宝支付  9线下支付 10服务点支付")
    private Integer paymentMethodId;

    @ApiModelProperty(value = "支付方式名称")
    private String paymentMethodName;

    @ApiModelProperty(value = "支付方式关键字")
    private String paymentTypesKey;

    @ApiModelProperty(value = "订单号")
    private String orderNo;

    @ApiModelProperty(value = "订单类型 2android 3ios 1pc 11批发后台")
    private Integer orderType;

    @ApiModelProperty(value = "购买类 1普通产品 2平台支付买单 3招聘套餐购买 4手机充值卡 9平台赠品 10商家赠品")
    private Integer buyType;

    @ApiModelProperty(value = "发票抬头")
    private String invoiceTitle;

    @ApiModelProperty(value = "是否需要发票 0 1")
    private Integer needBilling;

    @ApiModelProperty(value = "发票说明")
    private String billingMsg;

    @ApiModelProperty(value = "收件地址")
    private Long userAddressId;

    @ApiModelProperty(value = "收货人姓名")
    private String receiveUser;

    @ApiModelProperty(value = "国家")
    private String receiveCountry;

    @ApiModelProperty(value = "身份")
    private String receiveState;

    @ApiModelProperty(value = "城市")
    private String receiveCity;

    @ApiModelProperty(value = "片区 区域路径")
    private String receiveArea;

    @ApiModelProperty(value = "邮编  柬埔寨充值类型")
    private String receiveZip;

    @ApiModelProperty(value = "电话 手机充值-充值号码")
    private String receiveTelephone;

    @ApiModelProperty(value = "具体地址")
    private String receiveAddress;

    @ApiModelProperty(value = "邮箱")
    private String receiveEmail;

    @ApiModelProperty(value = "收货时间")
    private LocalDateTime receiveTime;

    @ApiModelProperty(value = "运单编号")
    private String logisCode;

    @ApiModelProperty(value = "运输方式")
    private Integer logisModelToId;

    @ApiModelProperty(value = "发货时间")
    private LocalDateTime logisSendTime;

    @ApiModelProperty(value = "配送区域 名称 说明")
    private String logisSnameMsg;

    @ApiModelProperty(value = "物流费")
    private BigDecimal logisticsCost;

    @ApiModelProperty(value = "购物车产品总金额")
    private BigDecimal shippingTotalCost;

    @ApiModelProperty(value = "服务费")
    private BigDecimal supplyValue;

    @ApiModelProperty(value = "计税")
    private BigDecimal taxAmt;

    @ApiModelProperty(value = "税费说明")
    private String taxApplied;

    @ApiModelProperty(value = "合计总金额 产品购物总金额")
    private BigDecimal total;

    @ApiModelProperty(value = "优惠券 节省金额 折扣")
    private BigDecimal couponDiscountAmt;

    @ApiModelProperty(value = "礼券/代金券 节省金额gift_Certificate")
    private BigDecimal giftCertficateAmt;

    @ApiModelProperty(value = "金币支付 消耗金币数量")
    private Integer goldPayCount;

    @ApiModelProperty(value = "金币支付金额 金币抵扣金额")
    private BigDecimal goldPayMoney;

    @ApiModelProperty(value = "积分支付")
    private Integer integralPayCount;

    @ApiModelProperty(value = "积分支付抵扣金额")
    private BigDecimal integralPayMoney;

    @ApiModelProperty(value = "商家促销信息")
    private String promotionMsg;

    @ApiModelProperty(value = "促销节省总金额")
    private BigDecimal saveMoneyTotal;

    @ApiModelProperty(value = "需支付金额 扣除优惠券 代金券 金币支付后的金额")
    private BigDecimal subtotal;

    @ApiModelProperty(value = "订单状态 1有效 2客户取消订单 3结束系统自动评论 4过期 5结束并已评论 6退货退款激活 7退货退款结束")
    private Integer orderStatus;

    @ApiModelProperty(value = "支付状态 1待支付 2已经支付 0支付失败")
    private Integer paymentStatus;

    @ApiModelProperty(value = "出货状态 0默认 1订单审核中 2仓库出货中 3快递送货中 4客户已签收")
    private Integer shippingStatus;

    @ApiModelProperty(value = "产品项 总数")
    private Integer itemsCount;

    @ApiModelProperty(value = "备忘录")
    private String notes;

    @ApiModelProperty(value = "支付时间")
    private LocalDateTime paymentTime;

    private LocalDateTime createTime;

    private Integer createBy;

    private LocalDateTime updateTime;

    private Integer updateBy;

    @ApiModelProperty(value = "优惠券id")
    private Integer couponId;

    @ApiModelProperty(value = "优惠券 折扣类型 1.%off 打折 2.$off 减钱")
    private Integer couponType;

    @ApiModelProperty(value = "结算id")
    private Long sellerOrderBillingId;

    @ApiModelProperty(value = "0 1买家归档 2卖家归档 12买卖双方都已归档")
    private Integer gdState;

    @ApiModelProperty(value = "0 1")
    private Integer deleted;


}
